.class Lframent/FramentOrder2$GoodsAdapter$3;
.super Ljava/lang/Object;
.source "FramentOrder2.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lframent/FramentOrder2$GoodsAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lframent/FramentOrder2$GoodsAdapter;


# direct methods
.method constructor <init>(Lframent/FramentOrder2$GoodsAdapter;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lframent/FramentOrder2$GoodsAdapter$3;->this$1:Lframent/FramentOrder2$GoodsAdapter;

    .line 1369
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .param p1, "arg0"    # Landroid/view/View;

    .prologue
    .line 1374
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lframent/FramentOrder2$GoodsAdapter$3;->this$1:Lframent/FramentOrder2$GoodsAdapter;

    # getter for: Lframent/FramentOrder2$GoodsAdapter;->this$0:Lframent/FramentOrder2;
    invoke-static {v1}, Lframent/FramentOrder2$GoodsAdapter;->access$0(Lframent/FramentOrder2$GoodsAdapter;)Lframent/FramentOrder2;

    move-result-object v1

    # getter for: Lframent/FramentOrder2;->context:Landroid/content/Context;
    invoke-static {v1}, Lframent/FramentOrder2;->access$2(Lframent/FramentOrder2;)Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/example/m6wmr/DishesParticularActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 1375
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "shopid"

    iget-object v2, p0, Lframent/FramentOrder2$GoodsAdapter$3;->this$1:Lframent/FramentOrder2$GoodsAdapter;

    # getter for: Lframent/FramentOrder2$GoodsAdapter;->this$0:Lframent/FramentOrder2;
    invoke-static {v2}, Lframent/FramentOrder2$GoodsAdapter;->access$0(Lframent/FramentOrder2$GoodsAdapter;)Lframent/FramentOrder2;

    move-result-object v2

    # getter for: Lframent/FramentOrder2;->shopid:Ljava/lang/String;
    invoke-static {v2}, Lframent/FramentOrder2;->access$5(Lframent/FramentOrder2;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1376
    const-string v2, "goodsid"

    iget-object v1, p0, Lframent/FramentOrder2$GoodsAdapter$3;->this$1:Lframent/FramentOrder2$GoodsAdapter;

    # getter for: Lframent/FramentOrder2$GoodsAdapter;->this$0:Lframent/FramentOrder2;
    invoke-static {v1}, Lframent/FramentOrder2$GoodsAdapter;->access$0(Lframent/FramentOrder2$GoodsAdapter;)Lframent/FramentOrder2;

    move-result-object v1

    # getter for: Lframent/FramentOrder2;->beans2:Ljava/util/ArrayList;
    invoke-static {v1}, Lframent/FramentOrder2;->access$10(Lframent/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v3

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/GoodsBean;

    invoke-virtual {v1}, Lbean/GoodsBean;->getId()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1377
    const-string v2, "shopname"

    iget-object v1, p0, Lframent/FramentOrder2$GoodsAdapter$3;->this$1:Lframent/FramentOrder2$GoodsAdapter;

    # getter for: Lframent/FramentOrder2$GoodsAdapter;->this$0:Lframent/FramentOrder2;
    invoke-static {v1}, Lframent/FramentOrder2$GoodsAdapter;->access$0(Lframent/FramentOrder2$GoodsAdapter;)Lframent/FramentOrder2;

    move-result-object v1

    # getter for: Lframent/FramentOrder2;->beans2:Ljava/util/ArrayList;
    invoke-static {v1}, Lframent/FramentOrder2;->access$10(Lframent/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v3

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/GoodsBean;

    invoke-virtual {v1}, Lbean/GoodsBean;->getname()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1378
    iget-object v1, p0, Lframent/FramentOrder2$GoodsAdapter$3;->this$1:Lframent/FramentOrder2$GoodsAdapter;

    # getter for: Lframent/FramentOrder2$GoodsAdapter;->this$0:Lframent/FramentOrder2;
    invoke-static {v1}, Lframent/FramentOrder2$GoodsAdapter;->access$0(Lframent/FramentOrder2$GoodsAdapter;)Lframent/FramentOrder2;

    move-result-object v1

    invoke-virtual {v1}, Lframent/FramentOrder2;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/support/v4/app/FragmentActivity;->startActivity(Landroid/content/Intent;)V

    .line 1380
    return-void
.end method
